﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

public partial class create_new_year : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        return;

        //ctpDataContext db = new ctpDataContext();
        //var cities = from p in db.ct_profiles
        //             where p.language_no == 0 
        //             select p;

        //foreach (ct_profile c in cities)
        //{
        //    Response.Write(c.title+"<br>");

        //    ct_s_profile p = new ct_s_profile();
        //    p.create_user_no = 1;
        //    p.ct_no = c.no;
        //    p.language_no = 0;


        //    p.no = db.ct_s_profiles.Max(p2 => p2.no) + 1;

        //    p.title = "2008 New Year";
        //    p.type_no = 10;
        //    p.valid = true;
        //    p.ver = 0;

        //    db.ct_s_profiles.InsertOnSubmit(p);
        //    db.SubmitChanges();


        //}


    }
}
